package com.hyc.message;

import lombok.AllArgsConstructor;

/**
 * @author 冷环渊
 * @date 2025/6/4 11:12
 * @description MessageType
 */
@AllArgsConstructor
public enum MessageType {
    REQUEST(0),
    RESPONSE(1),
    HEARTBEAT(2);

    private int code;


    public int getCode() {
        return code;
    }
}
